function query(name) {
    const search = location.search;
    const p = new URLSearchParams(search);
    return p.get(name);
}